package com.shc.community.dao;

import com.shc.community.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<Comment> findCommentByEntity(int entityType , int entityId ,int offset, int limit);

    int findCountByEntity(int entityType , int entityId);

    int addComment(Comment comment);
}
